package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 酒店管理对象 hotel_user
 *
 * @author ruoyi
 * @date 2023-04-12
 */
public class HotelUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 酒店ID */
    @Excel(name = "酒店ID")
    private String hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String name;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String cityName;

    /** 用户ID */
    private Long userId;

    private String keyword;

    public String hotelGroup;


    public List<HotelRoom> roomList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHotelId(String hotelId)
    {
        this.hotelId = hotelId;
    }

    public String getHotelId()
    {
        return hotelId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }


    public String getHotelGroup() {
        return hotelGroup;
    }

    public void setHotelGroup(String hotelGroup) {
        this.hotelGroup = hotelGroup;
    }


    public List<HotelRoom> getRoomList() {
        return roomList;
    }

    public void setRoomList(List<HotelRoom> roomList) {
        this.roomList = roomList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("hotelId", getHotelId())
                .append("name", getName())
                .append("cityName", getCityName())
                .append("userId", getUserId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
